package com.lookwider.services.impl;

import com.lookwider.beans.JobCategory;
import com.lookwider.beans.Review;
import com.lookwider.beans.User;
import com.lookwider.services.ReviewService;
import org.springframework.stereotype.Service;

import java.util.Date;

@Service
public class ReviewServiceImpl implements ReviewService {

    @Override
    public Review findTopFor( User user ) {
        Review review = new Review();
        review.setId( 1234 );
        review.setContent( "Review content bla-bla-bla" );
        review.setCreated( new Date() );
        review.setLastModified( new Date() );
        review.setName( "Review about smth" );
        review.setParentReview( null );
        review.setReviewer(user);
        review.setReviewType( 0 );
        return review;
    }
}
